//封装token
const TOKEN_KEY='geek-par'
// 读取
const getToken=()=>{
  return localStorage.getItem(TOKEN_KEY)
}
// 写入
const setToken=(token)=>{
  return localStorage.setItem(TOKEN_KEY,token)
}
//删除
const removeToken=()=>{
  return localStorage.removeItem(TOKEN_KEY)
}
// 导出
export {getToken,setToken,removeToken}